<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <title>客户签收回单</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <style>
            *{
                font-size:12px;
                letter-spacing: 1px;
            }
/*            table{border-right:2px solid black;border-bottom:2px solid black}*/
/*            table td{border-left:2px solid black;border-top:2px solid black}*/
            .text-right{
                text-align:right;
            }
            .text-center{
                text-align:center;
            }
            .bdt{
                border-top:2px solid black;
            }
             .fy{page-break-before:always;}
        </style>
    </head>
    <body>
        <?php foreach($this->data as $k=>$v){ ?>
                          
        <table style="margin:auto;width:95%;height:420px;" <?php echo ($k > 0) ? "class='fy'":""?>  cellspacing="0" cellpadding="0">
            <tr style="height:45px;">
                <td colspan="6"><div style="height:45px;"><b style="font-size:18px;">客户签收回单</b></div></td>
            </tr>
            <tr style="height:30px;">
                <td colspan="2">送货地址:<b><?php echo $v['address'] ?></b></td>
                <td colspan="2"></td>
                <td class="text-right" colspan="2">联系人:<b><?php echo $v['contant'] ?><b/></td>
            </tr>
            <tr style="height:30px;">
                <td colspan="2">到货日期:<b><?php echo date('Y-m-d');?></b></td>
<td colspan="3"></td>
<td class="text-right">电话:<b><?php echo $v['cellphone'] ?></b></td>
            </tr>
            <tr style="height:30px;">
                <td colspan="2">司机:<b><?php echo $v['drivername']; ?></b></td>
<td colspan="3"></td>
<td class="text-right">手机:<b><?php echo $v['telephone'] ?></b></td>
            </tr>
            <tr style="height:30px">
                <td style="width:17%;" class="text-center bdt">船名</td>
                <td style="width:17%;" class="text-center bdt">航次</td>
                <td style="width:17%;" class="text-center bdt">提单号</td>
                <td style="width:17%;" class="text-center bdt">箱型/数量</td>
                <td colspan="2" style="width:32%;" class="text-center bdt">件数/净重</td>
            </tr>
            <tr style="height:30px; ">
                <td class="text-center"><?php echo $v['ship_name'] ?></td>
                <td class="text-center"><?php echo $v['ship_line'] ?></td>
                <td class="text-center"><?php echo $v['lading_code'] ?></td>
                <td class="text-center"><?php echo $v['box_name'] ?></td>
                <td colspan="2" class="text-center"><?php echo $v['goods_count'].'/'.$v['goods_weight'] ?></td>
            </tr>
            <tr>
                <td colspan="6">
                    <div>注意事项:提箱时仔细检验箱,坏箱让道口签字。卸货后的坏丶污箱让工厂收货人签字，还箱请清扫箱内杂物</div>
                    <div style="margin-top:20px;">备注栏:</div>
                    <div style="margin-top:10px;"><span style="padding-left:75%;">收货人签名:</span></div>
                </td>
            </tr>
        </table>
        <?php } ?>
    </body>
</html>
